package com.agassi.edu.jee.bazar.logic;

import javax.ejb.Stateless;

import com.agassi.edu.jee.bazar.persistence.Bid;

/**
 * Session Bean implementation class PlaceBidBean
 */
@Stateless
public class PlaceBidBean implements PlaceBid {

    /**
     * Default constructor. 
     */
    public PlaceBidBean() {
        // TODO clarify need of explicit declaration of empty constructor 
    }

	@Override
	public Bid addBid(Bid bid) {
		System.out.println("added new bid: "+bid);
		// TODO saveBid(bid) using JPA
		return bid;
	}

}
